Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update chat_type handler #42

Merged
merged 2 commits into from
Oct 26, 2024
Merged

Conversation

SuperGamerTron
Copy link
Contributor

No description provided.

lib/pc/index.js Outdated
@@ -20,7 +20,11 @@ module.exports = (data, staticData) => {
formatString: staticData.language[d.translation_key] || d.translation_key /* chat type minecraft:raw has the formatString given directly by the translation key */,
parameters: d.parameters
}
data.chatFormattingById[chatType.id] = n
if (data.version['<']('1.21')) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be better to use a feature

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like (staticData.supportFeature('segmentedRegistryCodecData'))

@rom1504
Copy link
Member

rom1504 commented Oct 25, 2024

CI fails

@rom1504
Copy link
Member

rom1504 commented Oct 25, 2024

Bedrock is timing out

@SuperGamerTron SuperGamerTron force-pushed the 1.21 branch 2 times, most recently from 1ed9069 to 2426ad8 Compare October 26, 2024 01:18
@rom1504 rom1504 merged commit 0654054 into PrismarineJS:master Oct 26, 2024
3 checks passed
@rom1504
Copy link
Member

rom1504 commented Oct 26, 2024

/makerelease

@rom1504bot rom1504bot mentioned this pull request Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants